<template>
	<div id="news">
		<nav-tab activeColor="#FFFFFF">
			<header-item>
				<div class="header-nav1" slot="header-img" @click="fanhui">
					<van-icon name="arrow-left" size="25px" color="#0069E4" />
				</div>
				<div class="header-nav2" slot="header-sc">
					<div style="font-size: 17px;color: black;">消息</div>
				</div>
				<div class="header-nav3" slot="header-xingx" >
					<van-icon name="more-o" size="25px" color="#0069E4"/>
				</div>
			</header-item>
		</nav-tab>
		<div class="newsbox">
			<van-cell title="我的客服" size="large" is-link>
                <div slot='icon' class="newsbox-icon"><van-icon name="envelop-o" size='22px' color="#00AEA5"/></div>
	       </van-cell>
		</div>
		<van-cell title="动账通知" is-link  value="昨天" size="large"  >
			<div slot="icon" class="newsbox2-icon"><van-icon name="orders-o" size="22px" color="#2279C7"/></div>
			<div slot="label" class="newsbox2-label">直付通/快捷支付扣款通知</div>
		</van-cell>
		
	</div>
</template>

<script>
	import NavTab from '@/components/navtar/Header.vue'
	import HeaderItem from '@/components/navtar/HeaderItem.vue'
	import { Icon,Cell,CellGroup,Button} from 'vant';
	export default{
		methods:{
			fanhui(){
				this.$router.go(-1)
			},
		},
		components:{
			NavTab,
			HeaderItem,
			[Icon.name]: Icon,
			[Cell.name]: Cell,
			[CellGroup.name]: CellGroup,
			[Button.name]: Button,
		}
	}
</script>

<style scoped lang="less" >
	#news{
		width: 100vw;
		 height:100%;
		 position: fixed;
		 background-color: rgb(240,240,240);
	}
	 .context{
		 margin-top: 45px;
		 margin-bottom:10px;
	 }
    .newsbox{
		margin-top:53px;
		// font-size: 14px;
		.newsbox-icon{
			display: flex;
			align-items: center;
			padding-right: 10px;
		}
		.van-cell{
			border-bottom: 1px solid #999999;
			font-size: 14px;
		}
		
	}
	.newsbox2-icon{
		display: flex;
		align-items: center;
		padding-right: 10px;
	}

	.newsbox2-label{
		font-size: 12px;
	}
</style>
